<template>
  <div id="yycj">
    <div class="tit">
      <h2>应用场景</h2>
      <div class="empty-box"></div>
      <p>一诺万金智慧园区适用于政府主导型、企业主导型等多类型园区</p>
    </div>
    <div class="con">
      <div class="item-box" v-for="item in message" :key="item.name">
        <p>{{ item.name }}</p>
        <img :src="item.img" alt="">
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "Yycj",
    data() {
      return {
        message: [
          {
            name: "政府开发区",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/202109241850429lcyTJ.png"
          },
          {
            name: "科技园区",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/202109241850429yliJa.png"
          },
          {
            name: "物流园区",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/202109241850428NG5uH.png"
          },
          {
            name: "农贸市场",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/202109241850423GqZNA.png"
          },
          {
            name: "建材市场",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/20210924185042sMNHXf.png"
          },
          {
            name: "旅游景区",
            img: "https://www.1nuoyun.com/uploadfile/2021/09/24/20210924185042UT0hx3.png"
          }
        ]
      }
    }
  }
</script>

<style lang="scss" scoped>

  @import "assets/scss/public";

  #yycj {
    width: 62.5%;
    margin: 4rem auto;
    .tit {
      .empty-box {
        background: linear-gradient(90deg, #2f6bee, #009fff);
      }
    }
    .con {
      box-shadow: 0 0 1rem #f5f5f5;
      padding: 4rem;
      display: flex;
      justify-content: space-between;
      text-align: center;
      .item-box {
        position: relative;
        p {
          font-size: 2rem;
          font-weight: 1000;
          white-space: nowrap;
          color: #fff;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
        img:hover {
          transition-duration: 0.3s;
          transform: scale(1.2);
        }
      }
    }
  }
</style>